

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/img/Mine.jpg">
  <link rel="icon" href="/img/Mine.jpg">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="author" content="Chiam">
  <meta name="keywords" content="算法，安全">
  
    <meta name="description" content="『算法-ACM 竞赛-』ACM 模板合集写在前面：第一年小白拿铜牌，第二年队友出走，加上疫情原因不能回校训练导致心底防线彻底崩盘，于是选择退役。自从退役之后，一直想我打了那么久的 ACM，什么也没留下觉得很难受，突然想到我打 ACM 的时候，模板的程度参差不一，有的时候错误的模板真的会影响结果，所以我想整理完我的和我的队友的模板留给未来的小伙伴们，希望你们可以在这条路上越走越远，加油！这些模板有些">
<meta property="og:type" content="article">
<meta property="og:title" content="『算法-ACM竞赛-』ACM模板合集">
<meta property="og:url" content="http://example.com/2023/12/06/%E3%80%8E%E7%AE%97%E6%B3%95-ACM%E7%AB%9E%E8%B5%9B-%E3%80%8FACM%E6%A8%A1%E6%9D%BF%E5%90%88%E9%9B%86/index.html">
<meta property="og:site_name" content="Chiam 的个人主页">
<meta property="og:description" content="『算法-ACM 竞赛-』ACM 模板合集写在前面：第一年小白拿铜牌，第二年队友出走，加上疫情原因不能回校训练导致心底防线彻底崩盘，于是选择退役。自从退役之后，一直想我打了那么久的 ACM，什么也没留下觉得很难受，突然想到我打 ACM 的时候，模板的程度参差不一，有的时候错误的模板真的会影响结果，所以我想整理完我的和我的队友的模板留给未来的小伙伴们，希望你们可以在这条路上越走越远，加油！这些模板有些">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-12-05T16:11:43.955Z">
<meta property="article:modified_time" content="2023-12-05T16:18:46.635Z">
<meta property="article:author" content="Chiam">
<meta property="article:tag" content="算法，安全">
<meta name="twitter:card" content="summary_large_image">
  
  
  
  <title>『算法-ACM竞赛-』ACM模板合集 - Chiam 的个人主页</title>

  <link  rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />



  <link  rel="stylesheet" href="https://lib.baomitu.com/github-markdown-css/4.0.0/github-markdown.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/hint.css/2.7.0/hint.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">


<link  rel="stylesheet" href="/css/main.css" />


  <link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
  
    <link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
  



  
<link rel="stylesheet" href="/css/custom.css">



  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    Fluid.ctx = Object.assign({}, Fluid.ctx)
    var CONFIG = {"hostname":"example.com","root":"/","version":"1.9.5-a","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":"❡"},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":2},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml","include_content_in_search":true};

    if (CONFIG.web_analytics.follow_dnt) {
      var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
      Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
    }
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
  


  
<meta name="generator" content="Hexo 6.3.0"></head>


<body>
  

  <header>
    

<div class="header-inner" style="height: 70vh;">
  <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/">
      <strong>Chiam&#39;s Blogs</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                
                <span>首页</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                
                <span>归档</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/">
                
                <span>分类</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                
                <span>关于</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/links/">
                
                <span>友链</span>
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              <i class="iconfont icon-search"></i>
            </a>
          </li>
          
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
              <i class="iconfont icon-dark" id="color-toggle-icon"></i>
            </a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

  

<div id="banner" class="banner" parallax=true
     style="background: url('/img/default.png') no-repeat center center; background-size: cover;">
  <div class="full-bg-img">
    <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
      <div class="banner-text text-center fade-in-up">
        <div class="h2">
          
            <span id="subtitle" data-typed-text="『算法-ACM竞赛-』ACM模板合集"></span>
          
        </div>

        
          
  <div class="mt-3">
    
    
      <span class="post-meta">
        <i class="iconfont icon-date-fill" aria-hidden="true"></i>
        <time datetime="2023-12-06 00:11" pubdate>
          2023年12月6日 凌晨
        </time>
      </span>
    
  </div>

  <div class="mt-1">
    
      <span class="post-meta mr-2">
        <i class="iconfont icon-chart"></i>
        
          1.8k 字
        
      </span>
    

    
      <span class="post-meta mr-2">
        <i class="iconfont icon-clock-fill"></i>
        
        
        
          15 分钟
        
      </span>
    

    
    
  </div>


        
      </div>

      
    </div>
  </div>
</div>

</div>

  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="side-col d-none d-lg-block col-lg-2">
      

    </div>

    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div id="board">
          <article class="post-content mx-auto">
            <h1 id="seo-header">『算法-ACM竞赛-』ACM模板合集</h1>
            
            
              <div class="markdown-body">
                
                <h1 id="『算法-ACM-竞赛-』ACM-模板合集"><a href="#『算法-ACM-竞赛-』ACM-模板合集" class="headerlink" title="『算法-ACM 竞赛-』ACM 模板合集"></a>『算法-ACM 竞赛-』ACM 模板合集</h1><h3 id="写在前面："><a href="#写在前面：" class="headerlink" title="写在前面："></a>写在前面：</h3><p><strong>第一年小白拿铜牌，第二年队友出走，加上疫情原因不能回校训练导致心底防线彻底崩盘，于是选择退役。<br>自从退役之后，一直想我打了那么久的 ACM，什么也没留下觉得很难受，突然想到我打 ACM 的时候，模板的程度参差不一，有的时候错误的模板真的会影响结果，所以我想整理完我的和我的队友的模板留给未来的小伙伴们，希望你们可以在这条路上越走越远，加油！<br>这些模板有些是自己写的，有些是借鉴大佬邝斌，李煜东的，还有是去洛谷上看的那些榜一的题解然后修改的，过程坎坷，但是代码经过测试，应该是同时具备稳定性和效率性，希望可以帮助到大家</strong></p>
<h3 id="数学："><a href="#数学：" class="headerlink" title="数学："></a><strong>数学：</strong></h3><p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103464129">数论–康托展开与逆康托展开模板</a></strong></p>
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103435192"> 数论–组合数（卢卡斯+扩展卢卡斯）模板</a></strong></p>
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103429172"> 数论–Miller_Rabin 判断素数</a></strong></p>
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103428879">数论–中国剩余定理模板</a></strong></p>
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103322069"> 数论–逆元（拓展欧几里得）模板</a></strong></p>
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103464206"> 数论–逆元（费马小定理）模板</a></strong></p>
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/104218602">数学–数论–因子和线性筛 （模板)</a></strong></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/104218132"><strong>数学–数论–随机算法–Pollard Rho 大数分解算法（纯模板带输出）</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/104085544"><strong>数学–数论–快速幂–最大公约数–位运算模板</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/104057842"><strong>线性筛求积性函数的模板</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/104006167"><strong>数学–图论–莫比乌斯线性筛模板</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103998932"><strong>数学–数论—欧拉筛 模板</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103578056"><strong>数学–数论–素数</strong></a></p>
<h3 id="图论："><a href="#图论：" class="headerlink" title="图论："></a><strong>图论：</strong></h3><p><strong>搜索：</strong><br><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105698973"><strong>搜索相关：</strong></a></p>
<p><strong>最短路：</strong></p>
 
<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/100713829">SPFA模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/100712743">Dijkstra模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102702753">Floyd模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103186995">图论--最短路--第K短路（IDA*）（IDA Star)模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103360784">图论--最短路--dijkstra（含路径输出）模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103377696">图论--最长路--基于SPFA的调整模板</a></strong></p>

<p><strong>传递闭包：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102775371">传递闭包</a></strong></p>

<p><strong>欧拉与哈密尔顿路径：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102775433">欧拉回路</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103186071">图论--欧拉回路--弗罗莱算法模板</a></strong></p>

<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105506964"><strong>hamilton 路径</strong></a></p>
<p><strong>LCA：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102702497">图论--LCA--Tarjan（离线）</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102702410">图论--LCA--树上倍增法（在线）</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102152484">图论--LCA--在线RMQ ST</a></strong></p>

<p><strong>最小环：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102702579">图论--最小环--Floyd模板</a></strong></p>

<p><strong>树的直径：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102058573">图论--树的直径--DFS+树形DP模板</a></strong></p>

<p><strong>树的重心：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103187119">图论--树的重心（DFS） 模板</a></strong></p>

<p><strong>生成树：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/101037992">图论--最小生成树--Kruscal 模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102769088">图论--最短路径生成树（最小边权和）模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102768710">图论--最短路径生成树计数--模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103186921">图论--生成树--次小生成树模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103186743">图论--曼哈顿距离最小生成树模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103186664">图论--生成树计数模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103361216">图论--最小生成树--Prim算法（带边输出）模板</a></strong></p>

<p><strong>连通性：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102702315">图论--割点--Tarjan模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102726455">图论--割边--Tarjan模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102726377">图论--边双连通V-DCC缩点</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102726331">图论--双连通E-DCC缩点模板</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102726528">图论--强连通SCC缩点模板</a></strong></p>

<p><strong>二分图匹配：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102775248">图论--二分图最大匹配--匈牙利</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102775296">图论--二分图最佳完美匹配--KM</a></strong></p>

<p><strong>一般图带花树匹配：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102773606">图论--一般图带花树匹配（缩点）</a></strong></p>

<p><strong>网络流：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102790266">最大流（EK）</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102846849">最大流（Dinic矩阵版）</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102865836">最大流（Dinic邻接表版）</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/102857665">最大流（Hlpp）</a></strong></p>

<p><strong>2-SAT:</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103105904">2-SAT--暴力染色法求字典序最小模版</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103092996">2-SAT--暴力染色法模板（字典序最小解) RQ的板子</a></strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103092856">2-SAT--Tarjan连通分量+拓扑排序O(N+M）模板</a></strong></p>

<p><strong>拓扑排序：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103164124">图论--拓扑排序--判断是否为DAG图</a></strong></p>

<p><strong>差分约束：</strong></p>

<p><strong><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/103187240">图论--差分约束模板</a></strong></p>

<h3 id="数据结构"><a href="#数据结构" class="headerlink" title="数据结构"></a>数据结构</h3><p><strong>单调栈单调队列:</strong></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105698863"><strong>单调栈</strong></a><br><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105698918"><strong>单调队列</strong></a></p>
<p><strong>字符串：</strong><br><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105698940"><strong>KMP</strong></a><br><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105698954"><strong>Tire 树</strong></a><br><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105698934"><strong>字符串 hash</strong></a></p>
<p><strong>堆栈：</strong><br><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105698958"><strong>二叉堆</strong></a><br><strong>区间最值：</strong><br><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105698842"><strong>ST 算法</strong></a><br><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105698994"><strong>树状数组</strong></a><br><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105699006"><strong>线段树：</strong></a></p>
<h3 id="基础算法"><a href="#基础算法" class="headerlink" title="基础算法"></a>基础算法</h3><p><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105512199"><strong>二分法模板</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105512174"><strong>信息竞赛进阶指南–二分法</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105512260"><strong>枚举法</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105512412"><strong>离散化</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/90384754"><strong>归并排序求逆序对</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/90384754"><strong>任意进制转化</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105506980"><strong>lowbit 运算</strong></a></p>
<p><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43627118/article/details/105698908"><strong>递归法求中缀表达式的值</strong></a><br><a target="_blank" rel="noopener" href="https://lunatic.blog.csdn.net/article/details/105698842"><strong>ST 算法</strong></a></p>
<br>
<br>
<br>

<br>

<blockquote>
<p><strong>写在最后：</strong><br>Name:风骨散人，目前是一名双非在校大学生，预计考研，热爱编程，热爱技术，喜欢分享，知识无界，希望我的分享可以帮到你！名字的含义：我想有一天我能有能力随心所欲不逾矩，不总是向生活低头，有能力让家人拥有富足的生活而不是为了生计而到处奔波。“世人慌慌张张，不过是图碎银几两。偏偏这碎银几两，能解世间惆怅，可让父母安康，可护幼子成长 …”<br><strong>文章主要内容：</strong><br>Python,C++,C 语言,JAVA,C#等语言的教程<br>ACM 题解、模板、算法等，主要是数据结构，数学和图论<br>设计模式，数据库，计算机网络，操作系统，计算机组成原理<br>Python 爬虫、深度学习、机器学习<br>计算机系<strong>408</strong>考研的所有专业课内容<br><strong>目前还在更新中，先关注不迷路。微信公众号，cnblogs（博客园），CSDN 同名“风骨散人”</strong></p>
</blockquote>
<blockquote>
<p>如果有什么想看的，可以私信我，如果在能力范围内，我会发布相应的博文！<br>感谢大家的阅读！😘 你的点赞、收藏、关注是对我最大的鼓励！</p>
</blockquote>
<p><br><br></p>
<hr>
<p><strong>更新：</strong><br>2020 年 4 月 23 日，补充完善</p>

                
              </div>
            
            <hr/>
            <div>
              <div class="post-metas my-3">
  
    <div class="post-meta mr-3 d-flex align-items-center">
      <i class="iconfont icon-category"></i>
      

<span class="category-chains">
  
  
    
      <span class="category-chain">
        
  <a href="/categories/%E7%AE%97%E6%B3%95/" class="category-chain-item">算法</a>
  
  
    <span>></span>
    
  <a href="/categories/%E7%AE%97%E6%B3%95/ACM%E7%AB%9E%E8%B5%9B/" class="category-chain-item">ACM竞赛</a>
  
  

  

      </span>
    
  
</span>

    </div>
  
  
</div>


              
  

  <div class="license-box my-3">
    <div class="license-title">
      <div>『算法-ACM竞赛-』ACM模板合集</div>
      <div>http://example.com/2023/12/06/『算法-ACM竞赛-』ACM模板合集/</div>
    </div>
    <div class="license-meta">
      
        <div class="license-meta-item">
          <div>作者</div>
          <div>Chiam</div>
        </div>
      
      
        <div class="license-meta-item license-meta-date">
          <div>发布于</div>
          <div>2023年12月6日</div>
        </div>
      
      
      
        <div class="license-meta-item">
          <div>许可协议</div>
          <div>
            
              
              
                <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">
                  <span class="hint--top hint--rounded" aria-label="BY - 署名">
                    <i class="iconfont icon-by"></i>
                  </span>
                </a>
              
            
          </div>
        </div>
      
    </div>
    <div class="license-icon iconfont"></div>
  </div>



              
                <div class="post-prevnext my-3">
                  <article class="post-prev col-6">
                    
                    
                      <a href="/2023/12/06/%E3%80%8E%E7%AE%97%E6%B3%95-ACM%E7%AB%9E%E8%B5%9B-%E3%80%8FACM%E9%83%A8%E5%88%86%E8%AE%AD%E7%BB%83%E6%97%A5%E8%AE%B0%EF%BC%88%E4%BB%A5%E6%AD%A4%E7%BA%AA%E5%BF%B5%E5%92%8C%E9%98%9F%E5%8F%8B%E4%B8%8EFLS%E4%B8%80%E8%B5%B7%E5%BA%A6%E8%BF%87%E7%9A%84%E5%BF%AB%E4%B9%90%E6%97%B6%E5%85%89%EF%BC%89%20(3)/" title="『算法-ACM竞赛-』ACM部分训练日记（以此纪念和队友与FLS一起度过的快乐时光） (3)">
                        <i class="iconfont icon-arrowleft"></i>
                        <span class="hidden-mobile">『算法-ACM竞赛-』ACM部分训练日记（以此纪念和队友与FLS一起度过的快乐时光） (3)</span>
                        <span class="visible-mobile">上一篇</span>
                      </a>
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/2023/12/06/%E3%80%8E%E7%AE%97%E6%B3%95-ACM%E7%AB%9E%E8%B5%9B-%E3%80%8FACM%E6%A8%A1%E6%9D%BF%E5%90%88%E9%9B%86%20(1)/" title="『算法-ACM竞赛-』ACM模板合集 (1)">
                        <span class="hidden-mobile">『算法-ACM竞赛-』ACM模板合集 (1)</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
  
  
    <article id="comments" lazyload>
      
  <div id="valine"></div>
  <script type="text/javascript">
    Fluid.utils.loadComments('#valine', function() {
      Fluid.utils.createScript('https://lib.baomitu.com/valine/1.5.1/Valine.min.js', function() {
        var options = Object.assign(
          {"appId":"fIfc7WqUDZohlQuPc2lz5mJy-MdYXbMMI","appKey":"zjlAG3ZA3o4cBHVAkjzc2Z20","path":"window.location.pathname","placeholder":"留言仅限讨论，禁止广告等行为","avatar":"retro","meta":["nick","mail","link"],"requiredFields":[],"pageSize":10,"lang":"zh-CN","highlight":false,"recordIP":false,"serverURLs":"https://fifc7wqu.api.lncldglobal.com","emojiCDN":null,"emojiMaps":null,"enableQQ":false},
          {
            el: "#valine",
            path: window.location.pathname
          }
        )
        new Valine(options);
        Fluid.utils.waitElementVisible('#valine .vcontent', () => {
          var imgSelector = '#valine .vcontent img:not(.vemoji)';
          Fluid.plugins.imageCaption(imgSelector);
          Fluid.plugins.fancyBox(imgSelector);
        })
      });
    });
  </script>
  <noscript>Please enable JavaScript to view the comments</noscript>


    </article>
  


          </article>
        </div>
      </div>
    </div>

    <div class="side-col d-none d-lg-block col-lg-2">
      
  <aside class="sidebar" style="margin-left: -1rem">
    <div id="toc">
  <p class="toc-header">
    <i class="iconfont icon-list"></i>
    <span>目录</span>
  </p>
  <div class="toc-body" id="toc-body"></div>
</div>



  </aside>


    </div>
  </div>
</div>





  



  



  



  



  







    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v" for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>

    

    
  </main>

  <footer>
    <div class="footer-inner">
  
    <div class="footer-content">
       <meta name="referrer" content="no-referrer" /> <footer id="footer" role="contentinfo"> <div class="divider"> <div class="wall"></div> <img class="animals" src="/img/footer_animals_new.png" srcset="/img/loading.gif" lazyload alt="Footer Animals"> </div> <div class="container" data-index="450"> <p> <a href="https://chiamzhang.github.io" target="_blank">DogEgg</a> <i class="iconfont icon-love"></i> <a href="#" target="_blank">LittePig</a> </p> <p> Powered by  <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-pen"></i> Theme  <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> </p> </div> </footer> 
    </div>
  
  
  
  
</div>

  </footer>

  <!-- Scripts -->
  
  <script  src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://lib.baomitu.com/jquery/3.6.4/jquery.min.js" ></script>
<script  src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>


  <script  src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var subtitle = document.getElementById('subtitle');
      if (!subtitle || !typing) {
        return;
      }
      var text = subtitle.getAttribute('data-typed-text');
      
        typing(text);
      
    })(window, document);
  </script>




  
    <script  src="/js/img-lazyload.js" ></script>
  




  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/tocbot/4.20.1/tocbot.min.js', function() {
    var toc = jQuery('#toc');
    if (toc.length === 0 || !window.tocbot) { return; }
    var boardCtn = jQuery('#board-ctn');
    var boardTop = boardCtn.offset().top;

    window.tocbot.init(Object.assign({
      tocSelector     : '#toc-body',
      contentSelector : '.markdown-body',
      linkClass       : 'tocbot-link',
      activeLinkClass : 'tocbot-active-link',
      listClass       : 'tocbot-list',
      isCollapsedClass: 'tocbot-is-collapsed',
      collapsibleClass: 'tocbot-is-collapsible',
      scrollSmooth    : true,
      includeTitleTags: true,
      headingsOffset  : -boardTop,
    }, CONFIG.toc));
    if (toc.find('.toc-list-item').length > 0) {
      toc.css('visibility', 'visible');
    }

    Fluid.events.registerRefreshCallback(function() {
      if ('tocbot' in window) {
        tocbot.refresh();
        var toc = jQuery('#toc');
        if (toc.length === 0 || !tocbot) {
          return;
        }
        if (toc.find('.toc-list-item').length > 0) {
          toc.css('visibility', 'visible');
        }
      }
    });
  });
</script>


  <script src=https://lib.baomitu.com/clipboard.js/2.0.11/clipboard.min.js></script>

  <script>Fluid.plugins.codeWidget();</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/anchor-js/4.3.1/anchor.min.js', function() {
    window.anchors.options = {
      placement: CONFIG.anchorjs.placement,
      visible  : CONFIG.anchorjs.visible
    };
    if (CONFIG.anchorjs.icon) {
      window.anchors.options.icon = CONFIG.anchorjs.icon;
    }
    var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
    var res = [];
    for (var item of el) {
      res.push('.markdown-body > ' + item.trim());
    }
    if (CONFIG.anchorjs.placement === 'left') {
      window.anchors.options.class = 'anchorjs-link-left';
    }
    window.anchors.add(res.join(', '));

    Fluid.events.registerRefreshCallback(function() {
      if ('anchors' in window) {
        anchors.removeAll();
        var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
        var res = [];
        for (var item of el) {
          res.push('.markdown-body > ' + item.trim());
        }
        if (CONFIG.anchorjs.placement === 'left') {
          anchors.options.class = 'anchorjs-link-left';
        }
        anchors.add(res.join(', '));
      }
    });
  });
</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js', function() {
    Fluid.plugins.fancyBox();
  });
</script>


  <script>Fluid.plugins.imageCaption();</script>

  <script  src="/js/local-search.js" ></script>




  
<script src="/js/love.js"></script>
<script src="/js/funnyTitle.js"></script>
<script src="/js/backTop.js"></script>
<script src="//cdn.jsdelivr.net/gh/bynotes/texiao/source/js/xiaoxuehua.js"></script>



<!-- 主题的启动项，将它保持在最底部 -->
<!-- the boot of the theme, keep it at the bottom -->
<script  src="/js/boot.js" ></script>


  

  <noscript>
    <div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div>
  </noscript>
<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"jsonPath":"/live2dw/assets/wanko.model.json"},"display":{"position":"left","width":150,"height":150,"hOffset":20,"vOffset":0},"mobile":{"show":false,"scale":0.5},"react":{"opacity":0.9},"log":false});</script></body>
</html>
